package online.xybh.qa.dao;

import java.util.List;
import online.xybh.qa.model.CommonAnswer;
import online.xybh.qa.model.CommonAnswerExample;
import org.apache.ibatis.annotations.Param;

public interface CommonAnswerMapper {
    long countByExample(CommonAnswerExample example);

    int deleteByExample(CommonAnswerExample example);

    int deleteByPrimaryKey(String id);

    int insert(CommonAnswer record);

    int insertSelective(CommonAnswer record);

    List<CommonAnswer> selectByExample(CommonAnswerExample example);

    CommonAnswer selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CommonAnswer record, @Param("example") CommonAnswerExample example);

    int updateByExample(@Param("record") CommonAnswer record, @Param("example") CommonAnswerExample example);

    int updateByPrimaryKeySelective(CommonAnswer record);

    int updateByPrimaryKey(CommonAnswer record);
}